package com.ktwlsoft.archivemanage.payload.unitArchive;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.Size;

@ApiModel("室藏档案新增")
@Setter
@Getter
public class UnitArchivesAddRequest {

    /**档案类型**/
    @ApiModelProperty("档案类型")
    @Size(max = 30, message = "档案类型参数超长")
    private Long archiveType;

    /**10年**/
    @ApiModelProperty("10年")
    private Integer tenYear;

    /**30年**/
    @ApiModelProperty("30年")
    private Integer thirtyYear;

    /**永久**/
    @ApiModelProperty("永久")
    private Integer forever;
}
